gsk: Add font options to text nodes
authorMatthias Clasen <mclasen@redhat.com>
Fri, 3 Sep 2021 11:15:52 +0000 (07:15 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 3 Sep 2021 16:43:35 +0000 (12:43 -0400)
commitf1347f5841ea526c7016a8fbd329b45001812a23
tree6652a054c60493462bb4287118b3cc0e79741ebf
parentf3ccf62463019ef0ec0e79f304056895a47d4f4e
gsk: Add font options to text nodes

Since font options affect how the glyphs get rendered,
we need to pass the font options down from the gtk level
to where the glyph cache is populated.

Add a new gsk_text_node_new_full api that takes a
cairo_font_options_t in addition to the other parameters.
gsk/gskrendernode.h
gsk/gskrendernodeimpl.c